home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
archiver
/
crush1.zip
/
MANUAL.DOC
< prev
next >
Wrap
Text File
|
1994-06-18
|
42KB
|
954 lines
_________________________________
CRUSH v1.0
**** Shareware Manual ****
__________________________________
File Compression Tool
CRUSH (TM) Copyright Jeff Rollason, PocketWare (TM) 1994
All Rights Reserved
All Trademarks Are Acknowledged
No part of this publication may be reproduced, transmitted,
transcribed, stored in a retrieval system, or translated
into any other language in whole or in part, in any form or
by any means, whether it be electronic, mechanical,
magnetic, optical, manual or otherwise, without prior
written consent of PocketWare.
PocketWare PO Box 2369, Hendon, London NW4 1NR, England.
CIS 100031,3537. Internet 100031.3537@compuserve.com
__________________________________________________________________________
Contents:
CONTENTS: Page
Getting Started: . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
The CRUSH program: . . . . . . . . . . . . . . . . . . . . . . . . . . . 2
Default use of PKZIP . . . . . . . . . . . . . . . . . . . . . . . 3
-j Use ARJ . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
-o Use ZOO . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
-l Use LHA . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
-h Use HA . . . . . . . . . . . . . . . . . . . . . . . . . . . 3
-m Moves file to archive . . . . . . . . . . . . . . . . . . . . 3
-c Compare with and without CRUSH . . . . . . . . . . . . . . . 3
-f Optimise until 5 failed attempts to improve compression . . . 4
-f<n> Optimise until "n" failed attempts to improve compression . . 4
-t Only create CRUSH archive if 5% improvement . . . . . . . . . 4
-t<n> Only create CRUSH archive if "n"% improvement . . . . . . . . 4
-r Recurse subdirectories . . . . . . . . . . . . . . . . . . . 4
-: Set range(s) of dates . . . . . . . . . . . . . . . . . . . . 5
-x Exclude pathspecs . . . . . . . . . . . . . . . . . . . . . . 6
-y Answer YES to all questions . . . . . . . . . . . . . . . . . 6
-z Add CRUSH archive comment . . . . . . . . . . . . . . . . . . 6
-v Show files for adding without CRUSHing . . . . . . . . . . . 6
-n Store files without paths . . . . . . . . . . . . . . . . . . 7
-Q Query each file to be archived. . . . . . . . . . . . . . . . 7
-q QUIET mode, no output . . . . . . . . . . . . . . . . . . . . 7
-a Create an additional index . . . . . . . . . . . . . . . . . 7
-e Use the existing archive for comparison . . . . . . . . . . . 7
-C Colour off . . . . . . . . . . . . . . . . . . . . . . . . . 8
-C<n> Set colour . . . . . . . . . . . . . . . . . . . . . . . . . 8
-s Minimise temporary disk space (slow!) . . . . . . . . . . . . 8
-i<n> Control information type . . . . . . . . . . . . . . . . . . 8
-2 Set display of times to 24 hour clock . . . . . . . . . . . . 8
The UNCRUSH Program: . . . . . . . . . . . . . . . . . . . . . . . . . . 9
-v Display without uncompressing . . . . . . . . . . . . . . . .10
-V Display archive comment only . . . . . . . . . . . . . . . .10
-o Overwrite files without query . . . . . . . . . . . . . . . .10
-u Uncompress NEWER or NEW files . . . . . . . . . . . . . . . .10
-a Uncompress NEW files . . . . . . . . . . . . . . . . . . . .10
-i Ignore paths in CRUSH file . . . . . . . . . . . . . . . . .10
-I Only ignore drives in paths . . . . . . . . . . . . . . . . .10
-q Quiet mode: No output at all . . . . . . . . . . . . . . . .11
-z Only suppress output of archiver . . . . . . . . . . . . . .11
-e Extract even if not CRUSH archive . . . . . . . . . . . . . .11
-l Only display a simple file list . . . . . . . . . . . . . . .11
-2 Display times as 24-hour clock . . . . . . . . . . . . . . .11
Worked Examples: . . . . . . . . . . . . . . . . . . . . . . . . . . . .12
The UNDO and UNDO2 Programs: . . . . . . . . . . . . . . . . . . . . . .13
Configuration: . . . . . . . . . . . . . . . . . . . . . . . . . . . . .14
Technical Details: . . . . . . . . . . . . . . . . . . . . . . . . . . .15
_________________________________________________________________________
Getting Started Page 1
____________________________________
Installation
CRUSH installation is very simple. The user need only copy the contents of
the release disk to the desired directory. A file INSTALL.BAT is provided
to do this for you. Your chosen directory should be within your search
path (See the PATH variable in your DOS documentation).
In order to be able to use CRUSH, you must have one of the archivers
PKZIP, ARJ, LHA, ZOO or HA.
____________________________________
What is CRUSH?
CRUSH is a command-line tool that uses your existing archiver PKZIP, ARJ,
LHA, ZOO, or HA to generate smaller archives than it could alone. With
many applications this improvement may be less than 5%, but dramatic
improvements of 10%-70% are much more typical. A block test of 128
archives totalling 2349 wordprocessing files (see README) averaged a 47%
improvement (100k ZIP reduced to 53k CRUSH!). CRUSH is ideally suited to
users who regularly archive material or who just need to save disk space.
There is no other compression tool for DOS (as of June 1994) that can
match the compression performance of CRUSH, and most do not come close.
____________________________________
CRUSH and other Archivers
CRUSH is used from the command-line in much the same way as archivers such
as PKZIP and ARJ. If you are already familiar with these, then you should
be able to adapt to CRUSH with very little difficulty. If you are a ZOO,
LHA or HA user, then you will observe some changes, but will find the
basic operation of CRUSH very similar.
____________________________________
Simple use of CRUSH
To create a CRUSH archive called BACKUP containing all the files in the
current directory requires the following simple command:
CRUSH BACKUP
This will create the file BACKUP.ZIP (PKZIP must be available). The user
can be more selective by adding filespecs, as follows:
CRUSH BACKUP *.DOC README MAN*.*
This will only save files with the specified filespecs. The user may also
want to receive some feedback about how much space is being saved. The
"-c" (compare) option will allow a comparison to be made:
CRUSH -c BACKUP *.DOC README MAN*.*
Once created, a CRUSH archive can be uncompressed using UNCRUSH in much
the same way as PKUNZIP is used. e.g. UNCRUSH BACKUP *.DOC. This only
extracts files matching *.DOC. The user is advised to read the "Worked
Examples" section for more details of CRUSH usage, and also the README
file. Simply type "CRUSH" to obtain on-line help.
_________________________________________________________________________
The CRUSH program Page 2
This is the program that will replace the use of PKZIP, LHA, ARJ, ZOO and
HA. Whichever of these you already use will still be needed, but CRUSH
will run it for you. The command-line syntax of CRUSH is, for most cases,
identical